<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<div th:fragment="editXiamgu">
    <div id="editXiamguModal" style="" class="modal fade bs-example-modal-lg"
         tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
        <div class="modal-dialog" style="width: 650px">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"
                            aria-hidden="true">&times;</button>
                    <h3 class="modal-title" id="myModalLabel_xiamgu"></h3>
                </div>
                <div class="modal-body" style="overflow: auto;">
                    <div style="width: 600px; margin: 0 auto; margin-top: 15px">
                        <form class="form-horizontal col-sm-12" role="form">


                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    <span class="required">*</span>项目名称
                                </label>
                                <div class="col-sm-8">
                                    <input type="text" class="form-control" v-model="xiangmu.xiangmuname">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    <span class="required">*</span>项目类型
                                </label>
                                <div class="col-sm-8">
                                    <select class="input form-control" v-model="xiangmu.xiangmuleixing"  >
                                        <option value=''>--请选择--</option>
                                        <option v-for="xiangmuleixingitem in xiangmuleixinglist"
                                                :value="xiangmuleixingitem.id" v-text="xiangmuleixingitem.text"></option>
                                    </select>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    <span class="required">*</span>会议时间
                                </label>
                                <div class="col-sm-8">
                                    <input v-model="xiangmu.meetingtime" class="form-control Wdate"
                                           id="hysj" type="text" readonly="readonly"
                                           onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                           v-on:blur="gethysj()"
                                           style="background-color: #fff; height: 34px; border: 1px solid #ccc;"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    <span class="required">*</span>评委人数
                                </label>
                                <div class="col-sm-8">
                                    <input type="text" class="form-control" v-model="xiangmu.zhuangjiashu">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label">
                                    <span class="required">*</span>通过人数
                                </label>
                                <div class="col-sm-8">
                                    <input type="text" class="form-control" v-model="xiangmu.tongguoshu">
                                </div>
                            </div>

                            <div class="form-group">
                                <div class="col-sm-12" style="text-align: center;">
                                    <input v-if="editFlag == '0'" type="button" class="btn btn-success"
                                           value="新 增" @click="addXiangmu()">
                                    <input v-if="editFlag == '1'" type="button" class="btn btn-success"
                                           value="修 改" @click="modifyXiangmu()">
                                    <input type="button" class="btn btn-default" value="返 回"
                                           data-dismiss="modal">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- /.modal -->
    </div>
</div>
</html>